package contraintes;

import java.util.Hashtable;

public class ConstanteUE {
	private int id;
	private int nbCours;
	private int nbTd;
	private int nbTp;
	private Hashtable<Seance,Integer> listSeance;
	
	public int getId() {
		return id;
	}
	public int getNbCours() {
		return nbCours;
	}
	public int getNbTd() {
		return nbTd;
	}
	public int getNbTp() {
		return nbTp;
	}
	public void ajoutSeance(Seance s) {
		listSeance.put(s, s.getId());
	}
	
	public ConstanteUE(int id, int nbCours, int nbTd, int nbTp) {
		this.id = id;
		this.nbCours = nbCours;
		this.nbTd = nbTd;
		this.nbTp = nbTp;
		this.listSeance = new Hashtable<Seance,Integer>();
	}
}
